package cn.stu.system.controller;


import cn.stu.common.utils.ApiData;
import cn.stu.framework.dto.LogDto;
import cn.stu.framework.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author ${author}
 * @since 2022-08-04
 */
@RestController
@RequestMapping("/syslog")
public class LogController {
    @Autowired
    LogService Service;
    @GetMapping("/list")
    public ApiData systemLogList(LogDto dto){
        return Service.logList(dto);
    }
}

